/// <reference path="../../../jquery-2.0.2.js" />
/// <reference path="../../../jasime/jasmine.js" />
/// <reference path="../../../jasime/jasmine-jquery.js" />
/// <reference path="../../../angular.js" />
/// <reference path="../../../angular-mocks.js" />
/// <reference path="../../../angular-bootstrap.js" />
/// <reference path="../../../angular-resource.js" />
/// <reference path="../../../angular-mocks.js" />
/// <reference path="../../../ui-bootstrap-0.4.0.js" />
/// <reference path="../../../angular-cookies.js" /> 
/// <reference path="../../../toastr.js" />
/// <reference path="../../../ui.select2.js" />

/// <reference path="../../../ngRoute.js" />
/// <reference path="../../../geocoder.js" />
/// <reference path="../../../underscore.js" />
/// <reference path="../../../angular-underscore.js" />
/// <reference path="../../../datepicker.js" />

/// <reference path="../../../app/app.js" />
/// <reference path="../../../app/directives.js" />
/// <reference path="../../../app/filters.js" />
/// <reference path="../../../app/services.js" />
/// <reference path="../../../app/controllers.js" />
//
// test/unit/filters/filtersSpec.js
//
describe("Unit: Testing Filters", function() {

  beforeEach(inject(function ($$filter) {
      $filter = $$filter;
  }));

  //it('should have a tel filter', inject(function ($filter) {
  //    expect($filter('tel')).toBeNull();
  //}));

  it('should return null when nothing is set', function () {
      var range = $filter('tel')('9712323451');
      expect(range).to.equal(null);
  }));


  //it('should have a range filter that produces an array of numbers', inject(function($filter) {
  //  var range = $filter('range')([], 5);
  //  expect(range.length).to.equal(5);
  //  expect(range[0]).to.equal(0);
  //  expect(range[1]).to.equal(1);
  //  expect(range[2]).to.equal(2);
  //  expect(range[3]).to.equal(3);
  //  expect(range[4]).to.equal(4);
  //}));


 

});
